﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace BCTMSRESTful.Configs.Redis
{
    /// <summary>
    /// Redis选项
    /// </summary>
    public class RedisOptions
    {
        /// <summary>
        /// 启用Redis
        /// </summary>
        public bool EnableRedis { get; set; }
        /// <summary>
        /// Redis连接字符串。
        /// </summary>
        public string RedisConnectionString { get; set; }
        /// <summary>
        /// Redis数据库编号
        /// </summary>
        public string RedisDatabaseNo { get; set; }
    }
}
